package com.lian.hope.enums;

import org.apache.http.impl.cookie.PublicSuffixDomainFilter;

/**
 * 用户角色枚举
 */

public enum RoleType {
    ADMINISTRATOR(1,"管理员"), USER(2,"普通用户");

    private final String role;
    private final int code;

    RoleType(int code, String role) {
        this.code = code;
        this.role = role;
    }

    public String getRole() {
        return role;
    }

    public Integer getCode() {
        return  code;
    }


}
